<jsp:useBean id="users" class="com.splatter.Users" scope="session"/>
<jsp:setProperty name="users" property="*"/>
<jsp:useBean id="user" class="com.splatter.User" scope="session"/>
<jsp:setProperty name="user" property="*"/>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!-- The HTML 4.01 Transitional DOCTYPE declaration-->
<!-- above set at the top of the file will set     -->
<!-- the browser's rendering engine into           -->
<!-- "Quirks Mode". Replacing this declaration     -->
<!-- with a "Standards Mode" doctype is supported, -->
<!-- but may lead to some differences in layout.   -->

<html>
  <head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">

    <!--                                                               -->
    <!-- Consider inlining CSS to reduce the number of requested files -->
    <!--                                                               -->
    <!-- link type="text/css" rel="stylesheet" href="Chatter.css" -->

    <!--                                           -->
    <!-- Any title is fine                         -->
    <!--                                           -->
    <title>Users</title>
    
    <!--                                           -->
    <!-- This script loads your compiled module.   -->
    <!-- If you add any GWT meta tags, they must   -->
    <!-- be added before this line.                -->
    <!--                                           -->
    <!-- script type="text/javascript" language="javascript" src="chatter/chatter.nocache.js"></script -->
  </head>

  <!--                                           -->
  <!-- The body can have arbitrary html, or      -->
  <!-- you can leave the body empty if you want  -->
  <!-- to create a completely dynamic UI.        -->
  <!--                                           -->
  <body>

    <!-- OPTIONAL: include this if you want history support -->
    <!-- iframe src="javascript:''" id="__gwt_historyFrame" tabIndex='-1' style="position:absolute;width:0;height:0;border:0"></iframe -->

    <h1>Users</h1>

    <!-- <table align="center">
      <tr>
        <td colspan="2" style="font-weight:bold;">Please enter your name:</td>        
      </tr>
      <tr>
        <td id="nameFieldContainer"></td>
        <td id="sendButtonContainer"></td>
      </tr>
    </table -->
    
    <h2>Hello!  The time is now <%= new java.util.Date() %></h2>
    <h1>Users Info</h1>
    <HR>
    <center>
    	<%
    		//java.util.List list = new java.util.ArrayList();
			//list=(java.util.List)request.getAttribute("test");
			request.getInputStream();
			String param = request.getParameter("test");
			if ( param != null ) {
				out.write( param );
			}
			//try {
			//	for(int i=0; i<list.size(); i++) {
			//		String sCompanyName = (String)list.get(i);
					%>
					<p><%//out.write(sCompanyName); %></p>
			  <%//}
			//}catch(Exception e){}
			//out.write(list.size());
		%>
	    <%=users.getUsers()%>
	    <%  if ( param != null ) { 
	    		out.write( user.getUser( param ) );
	    	}
	    %>
	    
    </center>
    
  </body>
</html>